package com.dayu.service;

import java.util.List;

import com.dayu.entity.Merchant;

/**
 * @author dayu
 * @date 2018/11/01
 */
public interface MerchantService {
    void insertMerchant(Merchant merchant);

    Merchant getMerchantById(int id);

    List<Merchant> getMerchantListByType(int merchantType);

    void updateMerchant(Merchant merchant);

    void deleteMerchantById(int id);
}
